Quick Start
This guide shows how to create and run your first AI agent with BindAI in just a few minutes. By the end of this guide, you will have:- Created an AI agent
- Connected it to a language model
- Sent your first prompt
- Received a response
Before You Begin
Make sure you have completed the Installation guide. You will also need an API key for your chosen model provider. For OpenAI:Create an Agent
Create a new file namedmain.py.
What Happened?
The example performs four simple steps.1. Create an Agent
2. Send a Message
chat() method sends your prompt to the configured language model.
3. Receive the Result
result.output.
Loading an Agent from YAML
Instead of configuring agents in Python, BindAI also supports YAML configuration. Example:Using Templates
BindAI includes ready-to-run templates demonstrating common patterns. Examples include:- Agent Basics
- Workflow Basics
- Conditions
- Loops
- Parallel Execution
- Retry Policies
- Scheduling
